const duan = [
  {
    path: 'duan',
    component: () => import(/* webpackChunkName: "platform" */ '@/layout/platform'),
    name: 'Duan',
    alwaysShow: true,
    meta: {
      title: 'duan',
      icon: 'el-icon-collection',
      code: 'DuanAndMembershipFee',
      deleteThis: true
    },
    children: [
      { // 申报审核与成绩审核
        path: 'maintenance',
        name: 'Maintenance',
        meta: {
          title: 'maintenance',
          code: 'DuanAndMembershipFee',
          icon: 'el-icon-notebook-1',
          deleteThis: true
        },
        component: () => import(/* webpackChunkName: "platform" */ '@/views/duan/maintenance/index'),
        children: [
          { // 申报与成绩审核列表
            path: '',
            name: 'Maintenance',
            hidden: true,
            meta: {
              title: 'maintenance',
              code: 'DuanAndMembershipFee',
              breadcrumb: false
            },
            component: () => import(/* webpackChunkName: "platform" */ '@/views/duan/maintenance/mainType')
          },
          { // 申报详情
            path: 'checkdetail',
            name: 'Checkdetail',
            hidden: true,
            meta: {
              title: 'checkdetail',
              code: 'DuanAndMembershipFee',
              activeMenu: '/duan/maintenance'
            },
            component: () => import(/* webpackChunkName: "platform" */ '@/views/duan/maintenance/declare/checkdetail')
          },
          { // 成绩审核-查看
            path: 'resultReview',
            name: 'ResultReview',
            hidden: true,
            meta: {
              title: 'resultReview',
              code: 'DuanAndMembershipFee',
              activeMenu: '/duan/maintenance'
            },
            component: () => import(/* webpackChunkName: "platform" */ '@/views/duan/maintenance/results/resultReview.vue')
          }
        ]
      },
      { // 申报维护
        path: 'declareDefend',
        name: 'DeclareDefend',
        meta: {
          title: 'declareDefend',
          code: 'DuanAndMembershipFee',
          icon: 'el-icon-set-up',
          deleteThis: true
        },
        component: () => import(/* webpackChunkName: "platform" */ '@/views/duan/declareDefend/index.vue')
      }
    ]
  },
  // 角色权限赋权使用 不渲染侧边栏
  {
    // 培训等级
    path: 'duan1',
    hidden: true,
    meta: {
      title: 'duan',
      code: 'DuanSetting'
    }
  }
];

export default [
  ...duan
];

